package com.hs.jhzd.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.hs.jhzd.service.fp.FingerprintService;

@Controller
@RequestMapping("/fingerprint")
public class FingerprintController {

  @Autowired
  private FingerprintService fingerprintService;


  @RequestMapping("/init")
  @ResponseBody
  public boolean init(@RequestParam(required = true) String prisonId, String type) {
    fingerprintService.init(prisonId, type);
    return true;
  }

}
